package cn.bb.pojo;

import java.io.Serializable;

public class User implements Serializable {
    private String uname;
    public void printInfo(){
        System.out.println(uname+"购物清单");
    }
    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    @Override
    public String toString() {
        return "User{" +
                "uname='" + uname + '\'' +
                '}';
    }
}
